             package com.java.diagnostics.visualizer.recommender.balanced;
             
             import com.java.diagnostics.visualizer.data.AggregateData;
             import com.java.diagnostics.visualizer.data.StructuredData;
             import com.java.diagnostics.visualizer.recommender.Recommendation;
             import com.java.diagnostics.visualizer.recommender.RecommendationBase;
             import com.java.diagnostics.visualizer.recommender.util.RecommendationLabels;
             import java.util.Map;
             
             public class NumaObservation
               extends RecommendationBase
               implements Recommendation
             {
               public void recommend(AggregateData data)
               {
                 StructuredData attributes = data
                   .getStructuredData("VGCLabels.gc.attributes");
                 
                 if (attributes != null) {
                   String numaNodes = (String)attributes.getContents().get(
                     "numaNodes");
                   
                   if (numaNodes != null) {
                     int nodes = Integer.parseInt(numaNodes);
                     if (nodes > 1) {
                       addComment(data, RecommendationLabels.NUMA_OBSERVATION);
                     }
                   }
                 }
               }
             }


